<?php
include_once("../configure/configure.php");		//--> global var
include_once("utils/CommonUtils.php");

$oCommonUtils = new CommonUtils();

$columns = array();
$columns[] = 'a';
$columns[] = 'b';



$rows 	=  array();

$row 	=  array();
$row[] 	= '11';
$row[] 	= '22';
$rows[] = $row;

$row 	=  array();
$row[] 	= '33';
$row[] 	= '44';
$rows[] = $row;

$row 	=  array();
$row[] 	= '55';
$row[] 	= '66';
$rows[] = $row;

$row 	=  array();
$row[] 	= '77';
$row[] 	= '88';
$rows[] = $row;

$row 	=  array();
$row[] 	= '99';
$row[] 	= '1010';
$rows[] = $row;

$oCommonUtils->insertBatches(DB_TAG_COUPON, "test", $columns, $rows, $batch_limit = 2);

echo "the end."
?>
